package com.jiangcheng.spring;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * 类名称：SprintTestCase<br>
 * 类描述：<br>
 * 创建时间：2019年01月17日<br>
 *
 * @author jiangcheng
 * @version 1.0.0
 */
//指定bean注入的配置文件
@ContextConfiguration(locations = { "classpath:spring.xml","classpath:spring-mvc.xml","classpath:spring-mybatis.xml" })
//使用标准的JUnit @RunWith注释来告诉JUnit使用Spring TestRunner
@RunWith(SpringJUnit4ClassRunner.class)
public class SpringTestCase extends AbstractJUnit4SpringContextTests {
}
